package net.pimpas.web.jsf.components.simplemenu.impl;

import net.pimpas.web.jsf.components.simplemenu.SimpleMenuElement;

public abstract class SimpleMenuElementImpl implements SimpleMenuElement {

	private static final long serialVersionUID = 5194701114841804762L;
	
	private String action;
	private String icon;
	private String iconHover;
	private String label;
	private boolean disabled;
	private SimpleMenuElement parent;
	private String tooltip;
	private String name;
	
	public SimpleMenuElementImpl(String name) {
		this.setName(name);
	}
	

	public String getAction() {
		return this.action;
	}

	public String getIcon() {
		return this.icon;
	}

	public String getLabel() {
		return this.label;
	}

	public SimpleMenuElement getParent() {
		return this.parent;
	}

	public boolean isDisabled() {
		return this.disabled;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public void setDisabled(boolean disabled) {
		this.disabled = disabled;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public void setParent(SimpleMenuElement parent) {
		this.parent = parent;
	}


	public String getTooltip() {
		return this.tooltip;
	}


	public void setTooltip(String tooltip) {
		this.tooltip = tooltip;
	}


	public String getIconHover() {
		return this.iconHover;
	}


	public void setIconHover(String iconHover) {
		this.iconHover = iconHover;
	}


	public String getName() {
		return name;
	}


	public void setName(String name) {
		this.name = name;
	}
}